package com.letoo.dragon.dataaccess.domain.dbo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <P>
 * APP
 * </P>
 * 
 * @author chenpu
 *
 */
public class AppDO implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -1694813544747582670L;

    // 生效状态
    public static final int AVALIABLE = 1;

    // 主见 id
    private long id;
    // app id
    private int appId;
    // app name
    private String appName;
    // 状态
    private int status;
    // 创建时间
    private Timestamp createTime;
    // 更新时间
    private Timestamp updateTime;
    // 用户Id
    private long userId;
    // App key
    private String appKey;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
}
